import request from '@/utils/request.js'

// 查询checkConfig列表
export function listCheckConfig(query) {
  return request({
    url: '/zzyl-nursing-platform/checkConfig/list',
    method: 'get',
    params: query
  })
}

// 查询checkConfig详细
export function getCheckConfig(id) {
  return request({
    url: '/zzyl-nursing-platform/checkConfig/' + id,
    method: 'get'
  })
}

// 新增checkConfig
export function addCheckConfig(data) {
  return request({
    url: '/zzyl-nursing-platform/checkConfig',
    method: 'post',
    data: data
  })
}

// 修改checkConfig
export function updateCheckConfig(data) {
  return request({
    url: '/zzyl-nursing-platform/checkConfig',
    method: 'put',
    data: data
  })
}

// 删除checkConfig
export function delCheckConfig(id) {
  return request({
    url: '/zzyl-nursing-platform/checkConfig/' + id,
    method: 'delete'
  })
}
